package com.xw.dao;

import com.xw.model.SysVerificationCode;
import com.xw.util.MyMapper;
import org.apache.ibatis.annotations.Param;

public interface SysVerificationCodeMapper extends MyMapper<SysVerificationCode> {
    /**
     * 根据手机号查询当前发送短信的条数
     *
     * @param today
     * @param phone
     * @return
     */
    Integer findCountByDateAndPhone(@Param("today") String today, @Param("phone") String phone);
}